/*
 * SignedChecker.h
 *	returns true if the type is signed
 *  Created on: Oct 14, 2012
 *      Author: pigmal
 */

#ifndef SIGNEDCHECKER_H_
#define SIGNEDCHECKER_H_

template <typename T>
const bool IsSigned()
{
	T val = -1;
	if(val < 0)
	{
		return true;
	}
	else
	{
		return false;
	}
}

#endif /* SIGNEDCHECKER_H_ */
